import { reactive } from "./reactive.js";

const obj = {
    name: 'lucky',
    age: 18,
    hobby: {
        item1: 'playball',
        item2: 'swimming'
    }
}

const arr = [1, obj, 3]

const proxyObj = reactive(arr);

// 测试读取行为
// console.log(proxyObj.includes(obj))




// 测试写入行为



proxyObj.push(4);